package org.mcache;

/**
 * @Author: tjc
 * @description
 * @Date Created in 15:26 2022-08-07
 */
public class RedisCommand {
    private String name;
    private RedisCommandProc proc;
    private int arity;

    public RedisCommand(String name, RedisCommandProc proc, int arity) {
        this.name = name;
        this.proc = proc;
        this.arity = arity;
    }

    public String getName() {
        return name;
    }

    public RedisCommandProc getProc() {
        return proc;
    }

    public int getArity() {
        return arity;
    }
}
